<?php


namespace app\api\controller;


class Index extends Base
{
    function Index(){
        $param = $this->request->param();
        //参数效验
        $this->validate($param);
        return json(['code'=>1,'msg'=>'请求成功','data'=>$param]);
    }
}